Skip to content

[Accuracy diff No.34-35、63-64] Fix accuracy diff for logit API #72973

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 3, 2025

Conversation

ooooo-create
Copy link
Contributor

@ooooo-create ooooo-create commented May 28, 2025

PR Category

Execute Infrastructure

PR Types

Improvements

Description

  • 在 eps 为 None时,是一个数学计算公式,x <0 和 x>1 都属于未定义行为,所以 x_grad 也是未定义的,这里和 pytorch 对齐,之前 paddle 是按照 0 来处理的

Copy link

paddle-bot bot commented May 28, 2025

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@paddle-bot paddle-bot bot added the contributor External developers label May 28, 2025
@ooooo-create ooooo-create changed the title logit [Accuracy diff No.34-35] Fix accuracy diff for logit API May 28, 2025
@ooooo-create ooooo-create changed the title [Accuracy diff No.34-35] Fix accuracy diff for logit API [Accuracy diff No.34-35、63-64] Fix accuracy diff for logit API May 28, 2025
@luotao1 luotao1 added the HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务 label May 29, 2025
@ooooo-create
Copy link
Contributor Author

/re-run all-failed

@lshpku lshpku merged commit f6316d4 into PaddlePaddle:develop Jun 3, 2025
75 of 78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants